<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2020/12/27
  Time: 10:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../css/index.css"/>
    <link rel="stylesheet" href="../css/essayShow.css"/>
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="../js/index.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<% String path = request.getContextPath();%>
<body>
<div style="background-color: #F3F4F5">
    <div class="row-fluid" >
        <div class="col-md-1"></div>
        <div class="col-md-5" id="admin_list" >
            <!-- c:forEach原位置-->
            <div id="essay_item" >
                <div id ="essay_synopsis" style="display: inline-block">
                    <div>
                        <table class="table table-hover">
                            <tr>
                                <th>编号</th>
                                <th>用户名</th>
                                <th>密码</th>
                                <th>操作</th>
                            </tr>
                            <c:forEach items="${admins}" var="admins">
                                <tr>
                                    <td>${admins.admin_Id}</td>
                                    <td>${admins.admin_name}</td>
                                    <td>${admins.admin_pas}</td>
                                    <td>
                                        <a class="btn btn-success" type="submit"
                                           href="">详细信息</a>
                                    </td>
                                </tr>
                            </c:forEach>
                        </table>
                    </div>
                </div>
            </div>
            <!-- c:forEach原位置-->
        </div>
        <div align="center">
            <ul class="pagination">
                <li><a href="#">&laquo;</a></li>
                <li><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li><a href="#">&raquo;</a></li>
            </ul>
        </div>
    </div>
</div>
</body>
</html>
